/*
	Name: 1031.cpp
	Copyright: AFGXF
	Author: AFGXF
	Date: 08/03/19 20:13
	Description: NONE
*/
#include <iostream>
using namespace std;
int main()
{
	int n, c, a;
	cin >> n;
	c = n - 1;
	for (a = 1; a <= n * 2 - 1; a += 2)
	{
		for (int m = c; m > 0; m--)
		{
			cout << " ";
		}
		for (int m = a; m > 0; m--)
		{
			cout << "*";
		}
		cout << endl;
		c--;
	}
	return 0;
}
